package io.github.maojian.math;

import org.junit.Test;

public class Q1812 {
    public boolean squareIsWhite(String coordinates) {
        char[] chars = coordinates.toCharArray();
        int x = chars[0] - 'a' + 1;
        int y = chars[1];
        if ((x + y) % 2 == 0) return false;
        return true;
    }

    @Test
    public void test() {
        System.out.println(squareIsWhite("a1"));
    }
}
